package com.example.stormold.entity;

import com.alibaba.fastjson.JSON;
import org.springframework.stereotype.Component;

import java.io.Serializable;


@Component
public class InfoGet implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -8699220411939827164L;
	private int id;
	private String name;
	private int age;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	
	@Override
	public String toString() {
		return JSON.toJSONString(this);
	}
}
